484ad4c5b0866cecd77dd0c1b974dcc2c01b7d58,cepheus-ngsi/src/main/java/com/orange/ngsi/server/NgsiValidation.java,NgsiValidation,checkContextRegistration,#ContextRegistration#,134

Before Change


    }

    private void checkContextRegistration(ContextRegistration contextRegistration) throws MissingRequestParameterException {
        if ((contextRegistration.getProvidingApplication() == null) || (contextRegistration.getProvidingApplication().toString().isEmpty())){
            throw new MissingRequestParameterException("providingApplication", "URI");
        }
        if (contextRegistration.getEntityIdList() != null) {

After Change


    }

    private void checkContextRegistration(ContextRegistration contextRegistration) throws MissingRequestParameterException {
        if (nullOrEmpty(contextRegistration.getProvidingApplication())){
            throw new MissingRequestParameterException("providingApplication", "URI");
        }
        if (contextRegistration.getEntityIdList() != null) {